<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="css/choose.css">
<title>登陆成功</title>
</head>
<body>
	<div id="head">
		<div class="logo">
			<img src="picture/logo.png">
		</div>
		<div class="title">
			<span>知天下</span>
		</div>
	</div>
	<div id="nav">
		<div class="navblock">
			<ul>
				<li><a href="javascript:viod(0)" class="detail">请选择要操作的种类</a></li>
			</ul>
		</div>
	</div>
	<%
		String optionstr = request.getParameter("option");
		int option = Integer.valueOf(optionstr);
		request.setAttribute("option", option);
	%>
	<c:if test="${ option == 1 }">
		<div id="login">
			<div class="choose"><a href="<%=request.getContextPath()%>/addnews.jsp?type=0"">首页</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/addnews.jsp?type=1"">国内</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/addnews.jsp?type=2"">国际</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/addnews.jsp?type=3"">社会</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/addnews.jsp?type=4"">军事</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/addnews.jsp?type=5"">科技</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/addnews.jsp?type=6"">体育</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/addnews.jsp?type=7"">娱乐</a></div>
		</div>
	</c:if>
	<c:if test="${ option == 2 }">
		<div id="login">
			<div class="choose"><a href="<%=request.getContextPath()%>/deletenews.jsp?type=0"">首页</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/deletenews.jsp?type=1"">国内</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/deletenews.jsp?type=2"">国际</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/deletenews.jsp?type=3"">社会</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/deletenews.jsp?type=4"">军事</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/deletenews.jsp?type=5"">科技</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/deletenews.jsp?type=6"">体育</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/deletenews.jsp?type=7"">娱乐</a></div>
		</div>
	</c:if>
	<c:if test="${ option == 3 }">
		<div id="login">
			<div class="choose"><a href="<%=request.getContextPath()%>/updatenews.jsp?type=0"">首页</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/updatenews.jsp?type=1"">国内</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/updatenews.jsp?type=2"">国际</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/updatenews.jsp?type=3"">社会</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/updatenews.jsp?type=4"">军事</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/updatenews.jsp?type=5"">科技</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/updatenews.jsp?type=6"">体育</a></div>
			<div class="choose"><a href="<%=request.getContextPath()%>/updatenews.jsp?type=7"">娱乐</a></div>
		</div>
	</c:if>
	
	<c:if test="${ option == 4 }">
		<div id="login">
			<form  action="<%=request.getContextPath()%>/UpdateUserServlet" method="post">
				<div class="choose">原密码</div>
				<div class="choose" style="background-color:#EBEBEB;">
					<input type="text" style="background:transparent;border:0;width:100%;height:70%;" name="olduserpwd"></input>
				</div>
				<div class="choose">新密码</div>
				<div class="choose" style="background-color:#EBEBEB;">
					<input type="text" style="background:transparent;border:0;width:100%;height:70%;" name="newuserpwd"></input>
				</div>
				<input type="submit" style="none;background:#2f435e;color:#f2f2f2;padding: 10px 30px 10px 30px;font-size:16px;font-family: 微软雅黑,宋体,Arial,Helvetica,Verdana,sans-serif;font-weight:bold;border-radius:3px;-webkit-transition:all linear 0.30s;-moz-transition:all linear 0.30s;transition:all linear 0.30s;" value="修改">
			</form>
			
		</div>
	</c:if>
	
	<div id="bottom">
		<div class="text">Copyright ©2018-2018 ZTX</div>
	</div>
</body>
</html>
